\ifcsname HSRxIsMainDocument\endcsname
	\renewcommand{\HSRxBeginSubDocument}{}
	\renewcommand{\HSRxEndSubDocument}{}
	\ifcsname HSRxSetSubDocAuthor\endcsname
	\else
		\newcommand{\HSRxSetSubDocAuthor}[1] {}
		\newcommand{\HSRxSetSubDocDate}[1] {}
	\fi
\else
	\input{../00_Template/master}
	\ifcsname HSRxPreamble\endcsname
	\else
		\newcommand{\HSRxPreamble} {
			\pagenumbering{alph}    % a, b, c, ...
			% Deckblatt
			\input{../02_Titel/TitelSub}
			\frontmatter
			\pagenumbering{Roman}   % I, II, III, IV, ...
			\setcounter{page}{1}
			\IfDefined{minitoc}{%
				\minitoc
			}
		}
		\newcommand{\HSRxSubDocAuthor}{\HSRxAuthor}
		\newcommand{\HSRxSetSubDocAuthor}[1] {
			\renewcommand{\HSRxSubDocAuthor}{#1}
		}
		\newcommand{\HSRxSubDocDate}{(SubDocDate)}
		\newcommand{\HSRxSetSubDocDate}[1] {
		  \renewcommand{\HSRxSubDocDate}{#1}
		}
	\fi
	\ifcsname HSRxApendix\endcsname
	\else
		\newcommand{\HSRxApendix} {}
	\fi
\fi
\ifcsname HSRxSubDocTitle\endcsname
\else
	\newcommand{\HSRxSubDocTitle}{(SubDocTitle)}
	\newcommand{\HSRxSetSubDocTitle}[1] {
		\renewcommand{\HSRxSubDocTitle}{#1}
	}
\fi
